﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<Sicoagro.Models.Contratante>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	ContratantesPendientesBloqueo
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Contratantes Pendientes de Bloqueo</h2>

    <table>
        <tr>
            <th class="wd2">
                #
            </th>
            <th class="wd8">
                Documento
            </th>
            <th class="wd15">
                Razon Social
            </th>
           <th class="wd14">
                Email
            </th>
            <th></th>
        </tr>

    <% foreach (var item in Model) { %>
    
        <tr>
            <td>
                <%: item.CodContratante %>
            </td>
            <td>
                <%: item.NumDocContratante %>
            </td>
            <td>
                <%: item.RazonSocial %>
            </td>
            <td>
                <%: item.EmailContratante %>
            </td>
            <td>
                <%: Html.ActionLink("Ver", "ContratanteBloqueoDetalle", new { id = item.CodContratante })%> |
                <%: Html.ActionLink("Bloquear", "ContratanteBloquear", new { id = item.CodContratante })%>
            </td>
        </tr>
    
    <% } %>

    </table>

</asp:Content>

